##coding:utf-8
import threading,time
def test(p):
    time.sleep(1)
    print p
def test1():
    print '--'
ts=[]
for i in xrange(0,15):
     th=threading.Thread(target=test,args=[i])
     th.start()
     #th.join() #让线程依次进行
     ts.append(th)
     test1()
print 'ok'



